package tech.aistar.vo;

import tech.aistar.entity.ServiceOrder;
import tech.aistar.entity.Services;

import java.util.Date;
import java.util.List;

/**
 * Created by 23827 on 2019/10/5.
 */
public class ServiceOrderVo {
    private Services services;

    private ServiceOrder serviceOrder;

    private Integer id;

    private String orderNumber;

    private String title;

    private String intro;

    private Double price;

    private Date commitTime;

    private Integer status;

    private Double total;

    private List<String> serviceOrderVo;


    public ServiceOrderVo() {
    }


    public ServiceOrderVo(Services services, ServiceOrder serviceOrder, Integer id, String orderNumber, String title, String intro, Double price, Date commitTime, Integer status, Double total, List<String> serviceOrderVo) {
        this.services = services;
        this.serviceOrder = serviceOrder;
        this.id = id;
        this.orderNumber = orderNumber;
        this.title = title;
        this.intro = intro;
        this.price = price;
        this.commitTime = commitTime;
        this.status = status;
        this.total = total;
        this.serviceOrderVo = serviceOrderVo;
    }

    public Services getServices() {
        return services;
    }

    public void setServices(Services services) {
        this.services = services;
    }

    public ServiceOrder getServiceOrder() {
        return serviceOrder;
    }

    public void setServiceOrder(ServiceOrder serviceOrder) {
        this.serviceOrder = serviceOrder;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Date getCommitTime() {
        return commitTime;
    }

    public void setCommitTime(Date commitTime) {
        this.commitTime = commitTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Double getTotal() {
        return total;
    }

    public void setTotal(Double total) {
        this.total = total;
    }

    public List<String> getServiceOrderVo() {
        return serviceOrderVo;
    }

    public void setServiceOrderVo(List<String> serviceOrderVo) {
        this.serviceOrderVo = serviceOrderVo;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("ServiceOrderVo{");
        sb.append("services=").append(services);
        sb.append(", serviceOrder=").append(serviceOrder);
        sb.append(", id=").append(id);
        sb.append(", orderNumber='").append(orderNumber).append('\'');
        sb.append(", title='").append(title).append('\'');
        sb.append(", intro='").append(intro).append('\'');
        sb.append(", price=").append(price);
        sb.append(", commitTime=").append(commitTime);
        sb.append(", status=").append(status);
        sb.append(", total=").append(total);
        sb.append(", serviceOrderVo=").append(serviceOrderVo);
        sb.append('}');
        return sb.toString();
    }
}
